package com.example.myapplication;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class ThirdActivity extends AppCompatActivity {

    private TextView tvShow;
    private TextView tvInfo;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_third);



        tvShow = (TextView) findViewById(R.id.tv_show);
        tvInfo = (TextView) findViewById(R.id.tv_info);

        Intent it = getIntent();
        String info = it.getStringExtra("info");
        tvShow.setText(info);
    }
}